const Mock = require("mockjs")
const data = Mock.mock({
    "list|3": [{
        title: "@ctitle(3)",
        "children|5": [{
            img: "@image(100x100,@color)",
            name: "@cname",
            "songs|3": [{
                singer: "@cname",
                song: "@cname",
            }, ],
        }, ],
    }, ],
});
module.exports = {
    devServer:{
        before(app){
           app.get("/list",(req,res)=>{
               res.send(data.list)
           })
        }
    }
}